
void *get_element_int(void *base, int index)
{
	return ((int *)base) + index;
}

void *get_element_long(void *base, int index)
{
	return ((long *)base) + index;
}

void *get_element_float(void *base, int index)
{
	return ((float *)base) + index;
}

void *get_element_double(void *base, int index)
{
	return ((double *)base) + index;
}

void *get_element_ptr(void *base, int index)
{
	return ((void **)base) + index;
}
